<script setup>
    import {computed} from 'vue'
    const props = defineProps(["test"])
    const emits = defineEmits(["update:test"])
    const valueComputed = computed({
      get(){
        return props.test
      },
      set(val){
        emits('update:test', val)
      }
    })
</script>
    
<template>
    <input v-model="valueComputed">
</template>